package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface SupplierDao {
    List<Supplier> pageList(@Param("page") Integer page, @Param("rows")Integer rows, @Param("supplierName")String supplierName);



    //供应商添加或修改
    void saveSupplier(Supplier supplier);
    void deleteSupplier(Integer supplierId);




    //删除供应商（支持批量删除）
    void deleteSuppliers(List<String> arrayList);






}
